function [ ] = plotKNNresults( result, selections, headline )

    count = size(selections,1);
    
    figure;
    bar(1:count, result');
    axis([0.3 6.3 0 100]);
    title(headline);
    ylabel('% correct classification');
    set(gca,'XTick',1:count,'XTickLabel',selections);
    legend('k = 1', 'k = 2', 'k = 3', 'k = 5', 'k = 10');
    
end

